package cn.tedu.ivos.geofence.pojo.vo;

import cn.tedu.ivos.vehicle.pojo.vo.VehicleVO;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author 482944566@qq.com
 * @version 1.0
 * @date 2024-12-04
 */
@Data
public class GeofenceVO {
    @ApiModelProperty(value = "电子围栏ID")
    private Long id;

    @ApiModelProperty(value = "电子围栏名称")
    private String name;

    @ApiModelProperty(value = "电子围栏状态")
    private String status;

    @ApiModelProperty(value = "电子围栏坐标点")
    private String position;

     @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "围栏绑定车辆总数")
    private Integer totalNum;

    @ApiModelProperty(value = "围栏可用车辆数")
    private Integer availableNum;

    @ApiModelProperty(value = "围栏绑定车辆列表")
    private List<VehicleVO> vehicleList;
}
